/*
  SPACING SYSTEM (px)
  2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

  FONT SIZE SYSTEM (px)
  10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
}

.todo {
  width: 50rem;
  height: 50rem;
  margin-top: 3rem;
}

.title {
  font-size: 5.2rem;
  text-align: center;
  color: red;
}

.input-group {
  display: flex;
  /* justify-content: space-between; */
  font-size: 3rem;
}

.label {
  padding: 1rem;
}

.content {
  flex: 1;
  font-size: 2rem;
  padding: 0 0.5rem;
}

.btn {
  width: 8rem;
  font-size: 3rem;
  margin: 0 1rem;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border-bottom: 1px solid #aaa;
  font-size: 2.6rem;
}

.item-check {
  width: 3rem;
  height: 3rem;
}

.item-content {
  flex: 1;
}

.close {
  display: none;
}

.list-item:hover .close {
  display: block;
}
